.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 320px;
  background: linear-gradient(145deg, var(--bgc-color-2), color-mix(in srgb, var(--bgc-color-2) 95%, black));
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);

  .form-title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
  }

  .input-group {
    position: relative;

    input {
      width: 100%;
      padding: 12px 16px;
      background: var(--slider-bgc);
      border: 1px solid rgba(var(--secondary-color), 0.2);
      border-radius: 8px;
      color: var(--primary-color);
      font-size: 14px;
      transition: all 0.3s ease;

      &::placeholder {
        color: rgba(var(--secondary-color), 0.6);
      }

      &:focus {
        border-color: var(--hover-color);
        box-shadow: 0 0 0 2px rgba(var(--hover-color), 0.2);
      }
    }
  }

  .submit-btn {
    margin-top: 8px;
    padding: 12px;
    background: linear-gradient(145deg, var(--hover-color), color-mix(in srgb, var(--hover-color) 90%, black));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;

    &:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(var(--hover-color), 0.3);
    }

    &:active {
      transform: translateY(0);
    }
  }

  .error-message {
    color: #ff4444;
    font-size: 14px;
    padding: 8px 12px;
    background: rgba(#ff4444, 0.1);
    border-radius: 6px;
    text-align: center;
  }

  .switch-form {
    margin-top: 16px;
    text-align: center;
    color: var(--secondary-color);
    font-size: 14px;

    button {
      background: none;
      border: none;
      color: var(--hover-color);
      cursor: pointer;
      padding: 4px 8px;
      font-weight: 500;
      transition: color 0.3s;

      &:hover {
        color: color-mix(in srgb, var(--hover-color) 90%, white);
        text-decoration: underline;
      }
    }
  }

  .switch-form-btn {
    margin-top: 16px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(var(--secondary-color), 0.3);
    border-radius: 20px;
    color: var(--secondary-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        to right,
        rgba(var(--hover-color), 0.1),
        rgba(var(--hover-color), 0.2)
      );
      transform: translateX(-100%);
      transition: transform 0.3s ease;
    }

    &:hover {
      color: var(--primary-color);
      border-color: rgba(var(--hover-color), 0.5);
      
      &::before {
        transform: translateX(0);
      }
    }

    &:active {
      transform: scale(0.98);
    }
  }
} 